@import '../../../assets/mixin.less';

.banner_info {
  width: 100%;
  height: 200px;
}

.house-page {
  .banner {
    .banner_info;

    img {
      .banner_info;
      object-fit: cover;
    }
  }

  .info {
    margin: 12px;
    padding: 12px;
    background: #fff;

    &-title {
      font-size: 20px;
      font-weight: 500;
    }

    &-msg {
      padding: 5px 0;
    }
  }

  .comment {
    &-title {
      font-size: 20px;
      line-height: 20px;
      margin-left: 12px;
      margin-top: 20px;
    }

    &-lists {
      margin: 12px 12px 60px 12px;
      background: #fff;

      &_item {
        .flex(row, flex-start, flex-start);
        padding: 12px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);

        img {
          width: 50px;
          height: 50px;
          border-radius: 50%;
        }

        .right {
          flex: 1;
          padding-left: 16px;

          &-top {
            .flex(row, space-between);
          }

          &-bottom {
            color: rgba(0, 0, 0, 0.4);
            font-size: 14px;
          }
        }
      }

      .replyList {
        padding: 10px 40px;

        .reply {
          padding: 5px;
          background: #8a9094;
          border-radius: 4px;
          .name {
            color: #ffffff;
            margin-right: 5px;
          }
          .content {
            color: blue;
            margin-left: 5px;
          }
        }


      }
    }
  }

  .footer {
    .flex(row, flex-start, center);
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    height: 40px;
    padding: 10px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    color: rgba(0, 0, 0, 0.4);
  }
}

.modal-comment {
  width: 90%;

  .am-textarea-item {
    margin-top: 25px;
    border: 1px solid rgba(0, 0, 0, 0.08);
  }

  .comment-btn {
    margin-top: 15px;
  }
}

.houseInfo {
  height: 98px;
  padding: 14px 0;

  .title {
    opacity: 1;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    color: #333333;
    line-height: 18px;
  }

  .info-container {
    display: flex;

    > div {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;

      span {
        text-align: center;
        opacity: 1;
        font-size: 18px;
        font-weight: 500;
        color: #333333;
        line-height: 30px;
      }

      .key {
        opacity: 1;
        font-size: 12px;
        font-weight: 400;
        text-align: center;
        color: #666666;
        line-height: 12px;
      }
    }
  }
}

.Owner {
  height: 120px;
  opacity: 1;
  background: #117bee;
  border-radius: 10px;
  padding: 18px;

  .title {
    color: #ededed;
    font-size: 18px;
    font-weight: 500;
    text-align: left;
    line-height: 18px;
    margin-bottom: 20px;
  }

  .info-container {
    display: flex;

    img {
      width: 45px;
      height: 45px;
      border-radius: 50%;
    }

    .info-item {
      flex: 1;

      p {
        text-align: center;
        margin-bottom: 0;
      }

      .value {
        opacity: 1;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
        color: #ffffff;
        line-height: 30px;
      }

      .key {
        opacity: 1;
        font-size: 12px;
        font-weight: 400;
        text-align: center;
        color: #ffffff;
        line-height: 17px;
      }
    }
  }
}
